Make sure regex doesn't stack overflow by limiting it
authorAlbert Astals Cid <aacid@kde.org>
Wed, 26 Mar 2025 10:26:32 +0000 (11:26 +0100)
committerJohn Scott <jscott@posteo.net>
Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)
commitb7be6b2fbec6c4331784a0dc547e07e448cd9735
treedea13df9ebf2dc1807f6706da1956d3e60d82662
parentc8b3092822f6d4729467d7ed4171331a5c74df7f
Make sure regex doesn't stack overflow by limiting it

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/f54b815672117c250420787c8c006de98e8c7408
Bug-Debian: https://bugs.debian.org/1117046
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-43718

Happens with very long pdfsubver strings when compiled with
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto

Gbp-Pq: Name Make-sure-regex-doesn-t-stack-overflow-by-limiting-i.patch
poppler/PDFDoc.cc